.container-fluid {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    height: calc(100vh - 70px); /* 减去 navbar 和 footer 的高度 */
}

.operation-area {
    height: 10%;
    background-color: #f8f8f8; /* 可根据需要调整背景色 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-output-type-area {
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.top-half {
    border-top: 1px solid #ccc;
    display: flex;
    flex: 0 0 25%; /* 占container-fluid高度的25% */
    overflow: hidden;
}

.bottom-half {
    border-top: 1px solid #ccc;
    flex: 1;
    overflow-y: auto;
}

.column {
    flex: 1;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    box-sizing: border-box;
}

.column:last-child {
    border-right: none;
}

.type-area {
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.type-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 5px;
}

.type-input.error {
    border-color: #ff4d4f;
}

.error-message {
    color: #ff4d4f;
    font-size: 12px;
    display: none;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.column-select {
    width: 80%;
    padding: 5px;
    box-sizing: border-box;
}

.template-select {
    width: 12.5vw; /* 页面宽度的1/8 */
    height: 40px;
    background-color: #f0f0f0;
}

.template-select:hover {
    background-color: #e0e0e0;
}

.add-button {
    background-color: #f0f0f0;
    border: none;
    /* font-size: 24px; */
    cursor: pointer;
    width: 12.5vw; /* 页面宽度的1/8 */
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center; /* 确保按钮内容垂直居中 */
}

.add-button:hover {
    background-color: #e0e0e0;
}

.add-button {
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.add-button:nth-child(1) {
    border-left: 1px solid #ccc;
}

.type-label {
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.task-name-label {
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.task-name-label label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.task-name-label div {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    word-break: break-all;
    max-width: 100%;
}

.type-label label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.type-label div {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    word-break: break-all;
    max-width: 100%;
}

.workflow-list {
    margin-top: 20px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.workflow-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.workflow-table th,
.workflow-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.workflow-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.workflow-table tr:hover {
    background-color: #f8f9fa;
}

.delete-workflow {
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete-workflow:hover {
    background-color: #c82333;
}

.no-workflows {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

.start-workflow {
    padding: 6px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 8px;
}

.start-workflow:hover {
    background-color: #218838;
}

.workflow-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.workflow-table td:last-child {
    white-space: nowrap;
}

.select-file {
    padding: 6px 12px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 8px;
}

.select-file:hover {
    background-color: #138496;
}

.file-name {
    font-size: 14px;
    color: #666;
    margin-left: 8px;
    word-break: break-all;
    max-width: 200px;
    display: inline-block;
    vertical-align: middle;
}